package com.example.innospace.demos.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.innospace.demos.pojo.Request.ProjectGeneralSetting;
import com.example.innospace.demos.pojo.entity.ProjectGeneralSettingEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProjectGeneralSettingMapper extends BaseMapper<ProjectGeneralSettingEntity> {
    @Select("select * from innospace.project_general_setting ")
    List<ProjectGeneralSetting> getAllSettings();


    void save(ProjectGeneralSetting setting);

    void update(ProjectGeneralSetting setting);
    // 这里可以根据需要扩展自定义的方法，目前继承 BaseMapper 已有基本的增删改查方法
}